<?php
class LiWEParts
{
	private $_js = array ();
	private $_css = array ();

	public function _init ()
	{
		$this->_js = array (
			'base' => array ( 'liwe', 'object_enh', 'array_enh', 'string_enh', 'date_enh', 'ajax_manager', 'history', 'module', 'locale', 'event', 'json' ),
			'form' => array ( '*base', 'form', 'utils', 'validators', 'money', 'dom', 'drag' ),
			'cookie' => array ( 'cookie' ),
			'ext' => array ( '*base', '*form', '*cookie', 'dataset', 'paginator', 'lightbox', 'notifier', 'md5', 'fx', 'sound' ),

			'wwl-base' => array ( 'wwl' ),
			'wwl-arrowbox' => array ( '*wwl-scrollbox', 'arrowbox/arrowbox','arrowbox/arrowbox.templates' ),
			'wwl-button' => array ( 'button/button' ),
			'wwl-calendar' => array ( 'os3calendar/calendar.class', 'os3calendar/calendar', 'os3calendar/form.calendar' ),
			'wwl-colorpicker' => array ( 'colorpicker/colorpicker' ),
			'wwl-dbox' => array ( 'dbox/dbox' ),
			'wwl-dgrid' => array ( '*wwl-dbox', 'dgrid/dgrid', 'dgrid/dgrid.form' ),
			'wwl-grid' => array ( 'os3grid/os3grid' ),

			'wwl-htmled' => array ( '*wwl-toolbar', 'htmled/editor', 'htmled/plugins/edit', 
				'htmled/plugins/text_styles', 'htmled/plugins/text_align', 'htmled/plugins/image',
				'htmled/plugins/list', 'htmled/plugins/html',
				'htmled/wwl.htmled', 'htmled/form.htmled' ),
			'wwl-jconed' => array ( '*wwl-colorpicker', 'jconed/jconed.core', 'jconed/jconed.editor', 'jconed/jconed.toolbar', 
				'jconed/jconed.hover', 'jconed/jconed.config', 'jconed/jconed', 'jconed/form.jconed',
				'jconed/buttons/common',
				'jconed/buttons/link',
				'jconed/buttons/style',
				'jconed/buttons/html',
				'jconed/buttons/font',
				'jconed/buttons/color',
				'jconed/buttons/image',
				'jconed/buttons/table',
				'jconed/buttons/fullscreen' ),

			'wwl-menu' => array ( '*wwl-button', '*wwl-popbox', '*wwl-toolbar', '*wwl-popmenu', 'menu/menu' ),
			'wwl-popbox' => array ( 'popbox/popbox' ),
			'wwl-popmenu' => array ( '*wwl-button', '*wwl-popbox', '*wwl-toolbar', 'popmenu/popmenu' ),
			'wwl-rte' => array ( 'rte/rte', 'rte/form.rte' ),
			'wwl-scrollbox' => array ( 'scrollbox/scrollbox', 'scrollbox/scrollbox.templates' ),
			'wwl-suggest' => array ( '*wwl-popbox', 'suggest/suggest' ),
			'wwl-tabs' => array ( 'tabs/tabs' ),
			'wwl-toolbar' => array ( '*wwl-button', 'toolbar/toolbar' ),
			'wwl-tree' => array ( 'tree/tree' ),
			'wwl-uploader' => array ( '*wwl-progressbar', 'uploader/uploader', 'uploader/form.uploader' ),
			'wwl-chromeframe' => array ( 'chromeframe/chromeframe' ),
			'wwl-accordion' => array ( 'accordion/accordion', 'accordion/templates/accordion' ),
			'wwl-panels' => array ( 'panels/panels', 'panels/panels.class', 'panels/templates/panels' ),
			'wwl-gallery' => array ( '*wwl-arrowbox', 'gallery/gallery', 'gallery/gallery.templates' ),
			'wwl-bulletbox' => array ( 'bulletbox/bulletbox' ),
			'wwl-progressbar' => array ( 'progressbar/progressbar' ),
		);

		$this->_css = array (
			'form' => array ( 'css/form', 'css/notifier' ),
			'ext' => array ( 'css/lightbox' ),

			'wwl-arrowbox' => array ( 'arrowbox/arrowbox' ),
			'wwl-button' => array ( 'button/button' ),
			'wwl-calendar' => array ( 'os3calendar/os3calendar' ),
			'wwl-colorpicker' => array ( 'colorpicker/colorpicker' ),
			'wwl-dbox' => array ( 'dbox/dbox' ),
			'wwl-dgrid' => array ( 'dgrid/dgrid' ),
			'wwl-grid' => array ( 'os3grid/os3grid' ),
			'wwl-htmled' => array ( '*wwl-toolbar', 'htmled/htmled', 'htmled/plugins/edit/edit', 
				'htmled/plugins/html/html', 'htmled/plugins/list/list',
				'htmled/plugins/text_align/text_align', 'htmled/plugins/image/image',
				'htmled/plugins/text_styles/text_styles' ),
			'wwl-jconed' => array ( '*wwl-colorpicker', 'jconed/gfx/jconed' ),
			'wwl-menu' => array ( 'menu/menu' ),
			'wwl-popbox' => array ( 'popbox/popbox' ),
			'wwl-rte' => array ( 'rte/rte' ),
			'wwl-scrollbox' => array ( 'scrollbox/scrollbox' ),
			'wwl-tabs' => array ( 'tabs/tabs', 'tabs/grey_tabs' ),
			'wwl-toolbar' => array ( 'button/button', 'toolbar/toolbar' ),
			'wwl-tree' => array ( 'tree/tree' ),
			'wwl-chromeframe' => array ( 'chromeframe/gfx/chromeframe' ),
			'wwl-accordion' => array ( 'accordion/gfx/accordion' ),
			'wwl-panels' => array ( 'panels/gfx/panels' ),
			'wwl-gallery' => array ( '*wwl-arrowbox', 'gallery/gallery' ),
			'wwl-bulletbox' => array ( 'bulletbox/bulletbox' ),
			'wwl-uploader' => array ( '*wwl-progressbar', 'uploader/gfx/uploader' ),
			'wwl-progressbar' => array ( 'progressbar/gfx/progressbar' ),
		);
	}

	public function __construct ()
	{
		$this->_init ();
	}
}
